Spur mitigation for radio frequency receivers utilizing a free-running crystal

ABSTRACT

Embodiments of a receiver for using a first oscillator signal provided by a crystal resonator to support multiple, different functionalities are provided. The receiver comprises a phase-locked loop (PLL) configured to provide a second oscillator signal based on the first oscillator signal provided by the crystal resonator; a first mixer configured to mix a received signal received over a first input path with the second oscillator signal received over a second input path to provide a first frequency-shifted signal; and an automatic frequency controller (AFC) configured to estimate a frequency offset of the second oscillator signal and adjust the PLL to compensate for the frequency offset. The receiver further can include solutions for mitigating potential sources of noise caused by the frequency of the first oscillator signal not being compensated for by the AFC.

FIELD OF THE INVENTION

This application relates generally to receivers and more particularly toradio frequency (RF) receivers that use crystal resonators.

BACKGROUND

There exist two commonly implemented front-end architectures in radiofrequency (RF) receiver design; namely, the homodyne architecture andthe superheterodyne architecture. The homodyne architecturedown-converts a desired carrier (or channel) in a received signaldirectly from RF to baseband, whereas the superheterodyne architecturedown-converts a desired carrier (or channel) in a received signal to oneor more intermediate frequencies (IFs) before down-conversion tobaseband. In general, each of these front-end architectures typicallyemploy an antenna to receive a signal, a low noise amplifier (LNA) toprovide gain to the signal, and one or more down-conversion andfiltering stages.

In both front-end architectures, the down-conversion stage(s) include amixer for mixing the received signal with a local oscillator (LO) signalto down-convert the desired carrier in the received signal to basebandor some non-zero IF for further processing. The LO signal in thehomodyne architecture is ideally tuned to have a frequency identical tothe desired carrier such that the carrier is down-converted to baseband.The LO signal in the superheterodyne architecture (or at least one LOsignal in the superheterodyne architecture), on the other hand, isideally tuned to have a frequency that is offset from the frequency ofthe desired carrier by an amount equal to the chosen IF such that thecarrier is down-converted to the IF.

There is often a small frequency error (or offset), however, in the LOsignal from its ideal frequency. This error causes the desired carrierto be down-converted to a frequency position other than what is expected(i.e., to a frequency position other than at baseband in a homodynearchitecture and to a frequency position other than at the chosen IF inthe superheterodyne architecture). Proper recovery of the informationmodulated onto the desired carrier generally requires that the carrierbe down-converted (very close) to the expected frequency location.

Therefore, automatic frequency correction is often employed at thereceiver to estimate and compensate for any frequency error in the LOsignal, such that the desired carrier is down-converted (very close) toits expected frequency position (i.e., very close to baseband in ahomodyne architecture and very close to the chosen IF in thesuperheterodyne architecture). FIG. 1 illustrates a conventionalhomodyne receiver 100 that performs automatic frequency correction. Asillustrated in FIG. 1, conventional homodyne receiver 100 includes afront-end 105 for performing amplification, down-conversion, andfiltering, and a baseband processing section 110 for performing decodingor demapping.

Front-end 105 specifically includes an antenna 115, a low-noiseamplifier (LNA) 120, a mixer 125, a phase-locked loop (PLL) 130, adigitally controlled crystal oscillator (DCXO) 135, a crystal resonator140, a low-pass filter 145, an analog-to-digital converter (ADC) 150,and a digital signal processor (DSP) 155. In operation, antenna 115 isconfigured to receive an RF signal that includes a desired carrier. Thedesired carrier can be positioned within a frequency band defined by aparticular communications standard. For example, the desired carrier canbe positioned within a frequency band defined by the Global System forMobile Communications (GSM) standard.

After being received, the RF signal is provided to LNA 120, whichprovides sufficient amplification to the RF signal to overcome the noiseof subsequent stages in front-end 105, for example. The amplified RFsignal is then mixed by mixer 125 with a LO signal provided by PLL 130.PLL 130 provides the LO signal based on a reference oscillator signalprovided by DCXO 135 and crystal resonator 140 (i.e., PLL 130 providesthe LO signal as some multiple or fractional multiple of the referenceoscillator signal). The LO signal is ideally controlled by PLL 130 tohave a frequency equal to the desired carrier such that the mixingoperation, performed by mixer 125, results in the carrier beingdown-converted to baseband. The down-converted signal is then filteredby low-pass filter 145 to remove unwanted frequency components,converted to a digital signal (i.e., a sequence of discrete values) byADC 150, and processed by DSP 155.

Baseband processing section 110 receives the down-converted and filteredsignal from DSP 155 and performs further processing. As illustrated inFIG. 1, baseband processing section 110 includes baseband processor 160and an automatic frequency controller (AFC) 165. Baseband processor 160is configured to perform decoding or demapping to recover informationtransmitted over the carrier. AFC 165 is configured to estimate andcompensate for any frequency error in the LO signal provided by PLL 130,such that the desired carrier is down-converted (very close) to itsexpected frequency position (i.e., very close to baseband in thehomodyne architecture illustrated in FIG. 1).

AFC 165 can estimate the frequency error using, for example, thedown-converted carrier or the information recovered from the carrier bybaseband processor 160. The estimated frequency error can then be usedby AFC 165 to adjust a frequency at which crystal resonator 140oscillates and, thereby, the frequency of the reference oscillatorsignal. Specifically, AFC 165 can adjust the frequency at which crystalresonator 140 oscillates using DCXO 135. For example, DCXO 135 caninclude a tunable capacitor coupled in parallel (or series) with crystalresonator 140. In general, adding and removing capacitance across acrystal resonator, such as crystal resonator 140, will respectivelycause the resonance of the crystal resonator to shift upward anddownward.

As noted above, the reference oscillator signal provided by DCXO 135 andcrystal resonator 140 is used by PLL 130 as a reference signal togenerate the LO signal used by mixer 125. Thus, the frequency of thereference oscillator signal provided by DCXO 135 and crystal resonator140 can be adjusted by AFC 165 to compensate for the estimated frequencyerror in the LO signal provided by PLL 130.

Although adjusting the frequency of the reference oscillator signalpresents a viable solution for reducing the frequency error in the LOsignal provided by PLL 130, this solution has drawbacks. One notabledrawback is that the reference oscillator signal provided by DCXO 135and crystal resonator 140 potentially can no longer serve as a referenceclock for other functionalities supported by the device containinghomodyne receiver 100. For example, many communication devices, such ascellular phones, provide support for wireless local area network (WLAN)and Global Positioning System (GPS) functionalities in addition tocellular communication functionalities. Even though the referenceoscillator signal of a single crystal resonator, such as crystalresonator 140, can be used to support each of these additionalfunctionalities, the sudden changes in frequency of the referenceoscillator signal that are caused by AFC 165 to support onefunctionality are not acceptable to many of the other functionalities,such as GPS.

Therefore, what is needed is a system and method for performingautomatic frequency correction in a receiver without adjusting theresonance of the crystal resonator.

BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES

The accompanying drawings, which are incorporated herein and form a partof the specification, illustrate the present invention and, togetherwith the description, further serve to explain the principles of theinvention and to enable a person skilled in the pertinent art to makeand use the invention.

FIG. 1 illustrates a conventional homodyne receiver that performsautomatic frequency correction.

FIG. 2 illustrates a homodyne receiver that performs automatic frequencycorrection, according to embodiments of the present invention.

FIG. 3 illustrates potential leakage paths within a homodyne receiver,according to embodiments of the present invention.

FIG. 4 illustrates a leakage canceler, according to embodiments of thepresent invention.

FIG. 5 illustrates a homodyne receiver, according to embodiments of thepresent invention.

FIG. 6 illustrates a DSP with a rate adaptor, according to embodimentsof the present invention.

The present invention will be described with reference to theaccompanying drawings. The drawing in which an element first appears istypically indicated by the leftmost digit(s) in the correspondingreference number.

DETAILED DESCRIPTION

In the following description, numerous specific details are set forth inorder to provide a thorough understanding of the invention. However, itwill be apparent to those skilled in the art that the invention,including structures, systems, and methods, may be practiced withoutthese specific details. The description and representation herein arethe common means used by those experienced or skilled in the art to mosteffectively convey the substance of their work to others skilled in theart. In other instances, well-known methods, procedures, components, andcircuitry have not been described in detail to avoid unnecessarilyobscuring aspects of the invention.

References in the specification to “one embodiment,” “an embodiment,”“an example embodiment,” etc., indicate that the embodiment describedmay include a particular feature, structure, or characteristic, butevery embodiment may not necessarily include the particular feature,structure, or characteristic. Moreover, such phrases are not necessarilyreferring to the same embodiment. Further, when a particular feature,structure, or characteristic is described in connection with anembodiment, it is submitted that it is within the knowledge of oneskilled in the art to effect such feature, structure, or characteristicin connection with other embodiments whether or not explicitlydescribed.

1. EXEMPLARY OPERATING ENVIRONMENT

FIG. 2 illustrates an exemplary operating environment in which featuresof the present invention can be implemented. FIG. 2 specificallyillustrates an exemplary homodyne receiver 200 with nearly the sameconfiguration as homodyne receiver 100, illustrated in FIG. 1. However,in homodyne receiver 200, the resonance of crystal resonator 140 is notbeing adjusted by AFC 165. Rather, AFC 165 is configured to adjust PLL130 to correct for any estimated frequency error in the LO signalproduced by PLL 130.

Because AFC 165 is no longer adjusting the resonance of crystalresonator 140, the reference oscillator signal produced by DCXO 135 andcrystal resonator 140 in FIG. 2 is not locked to any particular carrierin the received signal and can be said to be free-running. The referenceoscillator signal can therefore serve as a reference clock to supportmultiple, different functionalities of the device containing receiver200 (even those functionalities that are sensitive to sudden changes inthe reference oscillator signal). For example, such functionalities caninclude cellular communications, Bluetooth, GPS, and WLAN to name a few.

In one embodiment, PLL 130 includes a variable frequency oscillator anda phase detector (not shown). Using the phase detector, PLL 130 comparesthe phase of the reference oscillator signal with the phase of a divideddown version of the output signal from its variable frequencyoscillator, which is divided down in frequency according to some dividerratio. The signal from the phase detector is then used to control thevariable frequency oscillator to keep the phases matched. The output ofthe variable frequency oscillator can be used as the LO signal and itsfrequency can be controlled to be some multiple (or fractional multiple)of the reference oscillator signal by adjusting the divider ratio. Inone embodiment, AFC 165 can adjust this divider ratio of PLL 130 tocompensate for any estimated frequency error in the LO signal.

The receiver architecture in FIG. 2 allows the reference oscillatorsignal produced by DCXO 135 and crystal resonator 140 to be used as areference clock to support multiple different functionalities of thedevice containing homodyne receiver 200. However, the referenceoscillator signal is now no longer compensated and locked to thefrequency of the desired carrier, and therefore can produce severalchallenging sources of noise to homodyne receiver 200. These challengingsources of noise include in-band spurs and long-term drift and they aredescribed further below together with potential solutions for mitigatingthem.

2. IN-BAND SPURS

Oscillator signals and their harmonics are a common source of spuriousinterference in RF receivers. FIG. 3 depicts several potential leakagepaths for the reference oscillator signal, produced by DCXO 135 andcrystal resonator 140, to leak into the input path of mixer 125 andcause spurious interference with the signal received by antenna 115. Itis often very difficult to address every potential leakage path that mayexist in an implementation of homodyne receiver 200. Therefore, the bestapproach to avoid interference from the reference oscillator signal isto devise a frequency plan in which the frequency of the referenceoscillator signal and the frequencies of its stronger harmonics do notfall in the RF bands of interest of a signal received by antenna 115.However, such a frequency plan is often impractical, impossible, orundesirable to implement due to cost and/or design constraints. Whenfrequency planning is unsuccessful, spurious interference can occur.

For example, in a second-generation (2G) cellular system, each downlinkfrequency band includes multiple carriers (or channels) whosefrequencies are 0.2 MHz apart. One of the downlink frequency bands usedin 2G cellular systems is the Extended GSM-900 band that spans thespectrum from 800-915 MHz and 925-965 MHz. Given the 0.2 MHz spacingbetween the carriers, it is clear that every integer number between 880and 915 or between 925 and 960 is a frequency of a particular carrier inthe Extended GSM-900 band. These numbers can easily fall on an integermultiple of a typical operating frequency for crystal resonator 140. Forinstance, assuming homodyne receiver 200 is configured to operate in a2G GSM cellular system and DCXO 135 and crystal resonator 140 provide areference oscillator with a fundamental frequency of 26 MHz, the 36^(th)harmonic of the reference oscillator signal will be at 936 MHz. Thisharmonic can leak into the input path of mixer 125 as illustrated inFIG. 3 and interfere with the carrier at 936 MHz in a 2G signal receivedby antenna 115.

In homodyne receiver 100, illustrated in FIG. 1, the 36^(th) harmonic ofthe reference oscillator signal provided by DCXO 135 and crystalresonator 140 would be frequency-locked to the carrier at 936 MHzbecause AFC controller 165 is adjusting the frequency of the referenceoscillator signal to compensate for any frequency error between thecarrier signal and the reference oscillator signal. Consequently, the36^(th) harmonic of the reference oscillator signal at 936 MHz willappear at DC in the output of mixer 125 (assuming the carrier at 936 MHzis presently being demodulated) and can be eliminated using standard DCoffset cancellation techniques.

In homodyne receiver 200, illustrated in FIGS. 2 and 3, however, the36^(th) harmonic of the reference oscillator signal provided by DCXO 135and crystal resonator 140 is no longer frequency-locked to the carrierat 936 MHz because AFC controller 165 is adjusting PLL 130 and not thefrequency of the reference oscillator signal. In homodyne receiver 200,the reference oscillator signal produced by DCXO 135 and crystalresonator 140 is free-running. Consequently, the 36^(th) harmonic of thereference oscillator signal at 936 MHz can appear as a spur not at DCwithin the down-converted signal. Rather, any spur caused by the 36^(th)harmonic of the reference oscillator signal will appear at the estimatedfrequency error (or offset) determined by AFC 165 in the down-convertedsignal. Standard DC offset cancellation techniques therefore cannot beso readily implemented. Because the sensitivity requirement of a 2G GSMreceiver is quiet stringent (around −110 dBm), these in-band spurs canseverely degrade performance.

FIG. 4 illustrates a leakage canceler 400 configured to eliminate (orreduce) these in-band spurs, according to embodiments of the presentinvention. As illustrated in FIG. 4, leakage canceler 400 includes acomplex mixer 405, a DC offset canceler 410, a complex mixer 415, and adirect digital synthesizer (DDS) 420. The operation of leakage canceler400 is described below with continued reference to homodyne receiver 200illustrated in FIGS. 2 and 3. It should be noted, however, that leakagecanceler 400 is not limited to use in homodyne receiver 200 and can beused in any reasonable receiver that implements automatic frequencycorrection and has a free-running crystal. In one embodiment, leakagecanceler 400 can be implemented in DSP 155 in receiver 200.

In general, leakage canceler 400 is configured to use the frequencyerror determined by AFC 165 (denoted by Δf in FIG. 4) to compensate fora harmonic of the reference oscillator signal that couples to the inputpath of mixer 125 and falls in the band of the desired carrier at theoutput of mixer 125. More specifically, using complex mixer 405, leakagecanceler 400 frequency-shifts the down-converted signal provided at theoutput of mixer 125 by the estimated frequency error determined by AFC165 such that the unwanted spur is frequency shifted to baseband.Leakage canceler 400 then uses one or more conventional DC offsetcorrection techniques, implemented by DC offset canceler 410, to reduceor eliminate the spur in the frequency-shifted signal. Once the spur hasbeen reduced or eliminated, leakage canceler 400 re-positions thefrequency-shifted signal, using mixer 415, back to (or at least near)its original frequency position.

In one embodiment, leakage canceler 400 is configured to receive thedown-converted signal provided at the output of mixer 125 as a sequenceof complex digital samples. The complex digital samples each have anin-phase component (I) and a quadrature component (Q), Complex mixer 405mixes the complex digital samples of the down-converted signal with acomplex oscillator signal produced by DDS 420 to frequency-shift thesignal by the estimated frequency error determined by AFC 165.

In order to produce the complex oscillator signal, the estimatedfrequency error determined by AFC 165 is provided to DDS 420. In oneembodiment, DDS 420 includes a numerically controlled oscillator (NCO),a sine/cosine look-up table, and a phase accumulator. The frequency ofthe complex oscillator signal produced by DDS 420 essentially depends ontwo variables: a frequency of a reference clock signal used by DDS 420(not shown) and the estimated frequency error, which acts like a “tuningword” to DDS 420. The estimated frequency error provides the main inputinto the phase accumulator of DDS 420. The phase accumulator computes aphase angle or address for the sine/cosine look-up table, which outputsthe digital amplitude corresponding to the sine/cosine of the phaseangle. The value of the accumulator is incremented based on themagnitude of the estimated frequency error with each cycle of thereference clock signal. If the estimated frequency error is large, thephase accumulator will step quickly though the sine/cosine look-up tableand thus generate a high frequency sine/cosine oscillator signal. On theother hand, if the estimated frequency error is small, the phaseaccumulator will take many more steps to step through the sine/cosinelook-up table and therefore generate a comparatively lower frequencysine/cosine oscillator signal. Both complex mixers 405 and 415 canutilize the complex oscillator signal, produced by DDS 420, asillustrated in FIG. 4.

It should be noted that other implementations of DDS 420 are possible,as would be appreciated by one of ordinary skill in the art. Forexample, as opposed to using a straight sine/cosine look-up table, theCoordinate Rotation Digital Computer (CORDIC) algorithm can be used inthe implementation of DDS 420.

3. LONG-TERM DRIFT

Referring to FIG. 2, after mixer 125 down-converts a desired carrier inthe signal received by antenna 115, the down-converted signal isoptionally low-pass filtered by low pass filter 145, converted to adigital signal by ADC 150, and processed by DSP 155. DSP 155 can includeany additional logic to perform additional processing on thedown-converted signal prior to being received by baseband processingsection 110 and can include, for example, mechanism(s) for buffering thedown-converted signal or mechanism(s) for performing clock domaincrossing. DSP 155 typically provides samples of the down-convertedsignal to baseband processing section 110 at a rate that is a multipleof the symbol rate used to modulate the desired carrier. The symbol rateis the number of symbol changes made to the desired carrier per unittime and can be measured, for example, in symbols per second. Eachsymbol can represent or convey one or more bits of information.

Typically, it is desirable to operate ADC 150 and DSP 155 at the samerate at which the samples of the down-converted signal are provided tobaseband processing section 110 (i.e., at the given rate that is amultiple of the symbol rate used to modulate the desired carrier).However, it is often impractical to operate ADC 150 and DSP 155 at thisrate. More specifically, in order to operate ADC 150 and DSP 155 at thesame rate at which the samples of the down-converted signal are providedto baseband processing section 110, a dedicated PLL for the ADC isgenerally required, which increases cost/area of the implementation ofreceiver 200 and introduces more phase noise into the system.

Moreover, since the jitter requirement in baseband processing section110 is usually much less stringent than the jitter requirement offront-end 105 in many receivers, a low-cost ring oscillator PLL can beused to generate a clock for use by baseband processing section 110 thathas a frequency which is a multiple of the symbol rate used to modulatethe desired carrier. Because this clock is very jittery, it generallycannot be used by ADC 150.

Therefore, one potential implementation is illustrated in FIG. 5. FIG. 5specifically illustrates a homodyne receiver 500 with nearly the sameconfiguration as homodyne receiver 200, illustrated in FIG. 2. However,in homodyne receiver 500 an additional clocking structure is depictedfor ADC 150, DSP 155, and baseband processor 160.

In the clocking structure depicted in FIG. 5, ADC 150 and a firstportion of DSP 155 are clocked using the LO signal provided by PLL 130.A second portion of DSP 155 and baseband processor 160, on the otherhand, are clocked using a second LO signal provided by PLL 505. In oneembodiment, PLL 505 is implemented using a low-cost ring oscillator. PLL505 uses the reference oscillator signal provided by DCXO 135 andfree-running crystal resonator 140 to provide the second LO signal witha fundamental frequency that is a multiple of the symbol rate used tomodulate the desired carrier in the signal received by antenna 115.

In order to transfer the down-converted signal received by antenna 115across the two clock domains (i.e., across the clock domain defined bythe LO signal provided by PLL 130 and the clock domain defined by the LOsignal provided by PLL 505), DSP 155 can include a rate adaptor 610 asillustrated in FIG. 6. Rate adaptor 610 sits between variable rate logic605, clocked at a rate defined by the LO signal provided by PLL 130, andfixed rate logic 615, clocked at a rate defined by the LO signalprovided by PLL 505. Rate adaptor 610 is configured to adapt the rate ofthe down-converted signal received from variable rate logic 605 to therate of fixed rate logic 615 according to the following adaptorconversion ratio:

$\begin{matrix}{\frac{f_{IN}}{f_{OUT}} = \frac{M}{N}} & (1)\end{matrix}$where M and N are programmable integers and f_(IN) and f_(OUT) representthe input and output rate of rate adaptor 610, respectively.

Because PLL 505 is not frequency-locked to PLL 130, however (given thatfrequency correction is performed on PLL 130 by AFC 165), rate adaptor610 cannot guarantee that the rate at which it provides thedown-converted signal to fixed rate logic 615 is exactly the rate atwhich fixed rate logic 615 expects to receive the down-converted signal(i.e., at a rate equal to the rate defined by the LO signal provided byPLL 505). Any deviation in the output rate of rate adaptor 610 and therate at which fixed rate logic 615 expects to receive the down-convertedsignal can result in long-term drift and, where a FIFO is implemented inthe logic following rate adaptor 610, FIFO overflow/underflow. FIFOoverflow/underflow indicates lost samples and can degrade theperformance of receiver 500.

One solution for the long-term drift issue is that the estimatedfrequency error, provided by AFC 165 to PLL 130, can be used tocompensate for any rate mismatch between the output rate of rate adaptor610 and the expected rate at which fixed rate logic 615 expects toreceive the down-converted signal. More specifically, and in oneembodiment, the estimated frequency error, provided by AFC 165 to PLL130, can be used to modify the M parameter and/or the N parameter of theadaptor conversion ratio of rate adaptor 610 to compensate for any ratemismatch. For example, using equation (1) above, the amount ofcorrection can be calculated as:

$\begin{matrix}{\frac{f_{IN}}{f_{OUT} + {\Delta\; f}} = {\frac{M + {\Delta\; M}}{N}\mspace{14mu}{or}}} & (2) \\{{\Delta\; M} = {- \frac{M}{1 + \frac{f_{OUT}}{\Delta\; f}}}} & (3)\end{matrix}$where Δf is the estimated frequency error and ΔM is the modification tobe made to M in order to compensate for any rate mismatch that exists.

4. CONCLUSION

It should be noted that although features of the present invention weredescribed above with respect to exemplary homodyne receivers, thesefeatures are equally applicable to superheterodyne receivers as would beappreciated by one of ordinary skill in the art.

It is to be appreciated that the Detailed Description section, and notthe Abstract section, is intended to be used to interpret the claims.The Abstract section may set forth one or more but not all exemplaryembodiments of the present invention as contemplated by the inventor(s),and thus, is not intended to limit the present invention and theappended claims in any way.

The present invention has been described above with the aid offunctional building blocks illustrating the implementation of specifiedfunctions and relationships thereof. The boundaries of these functionalbuilding blocks have been arbitrarily defined herein for the convenienceof the description. Alternate boundaries can be defined so long as thespecified functions and relationships thereof are appropriatelyperformed.

The foregoing description of the specific embodiments will so fullyreveal the general nature of the invention that others can, by applyingknowledge within the skill of the art, readily modify and/or adapt forvarious applications such specific embodiments, without undueexperimentation, without departing from the general concept of thepresent invention. Therefore, such adaptations and modifications areintended to be within the meaning and range of equivalents of thedisclosed embodiments, based on the teaching and guidance presentedherein. It is to be understood that the phraseology or terminologyherein is for the purpose of description and not of limitation, suchthat the terminology or phraseology of the present specification is tobe interpreted by the skilled artisan in light of the teachings andguidance.

The breadth and scope of the present invention should not be limited byany of the above-described exemplary embodiments, but should be definedonly in accordance with the following claims and their equivalents.

What is claimed is:
 1. A receiver for using a reference oscillatorsignal provided by a crystal resonator to support multiple, differentfunctionalities, the receiver comprising: a phase-locked loop (PLL)configured to provide a local oscillator signal based on the referenceoscillator signal provided by the crystal resonator; a first mixerconfigured to mix a received signal received over a first input pathwith the local oscillator signal received over a second input path toprovide a first frequency-shifted signal; an automatic frequencycontroller (AFC) configured to estimate a frequency offset of the localoscillator signal and adjust the PLL to compensate for the frequencyoffset; and a leakage canceler configured to shift the firstfrequency-shifted signal in frequency by an amount determined based onthe frequency offset to compensate for a harmonic of the referenceoscillator signal that couples to the first input path and propagatesthrough the first mixer to the first frequency-shifted signal.
 2. Thereceiver of claim 1, wherein the leakage canceler comprises: a secondmixer configured to mix the first frequency-shifted signal with anadditional oscillator signal to provide a second frequency-shiftedsignal, wherein a frequency of the additional oscillator signal isdetermined based on the frequency offset.
 3. The receiver of claim 2,wherein the harmonic of the reference oscillator signal is present as adirect current (DC) component of the second frequency-shifted signal. 4.The receiver of claim 2, wherein the leakage canceler further comprises:a direct current (DC) offset canceler configured to compensate for theDC component of the second frequency-shifted signal to provide a leakagecompensated frequency-shifted signal.
 5. The receiver of claim 4,wherein the leakage canceler further comprises: a third mixer configuredto mix the leakage compensated frequency-shifted signal with theadditional oscillator signal.
 6. The receiver of claim 2, wherein theleakage canceler further comprises: a direct digital synthesizer (DDS)configured to generate the additional oscillator signal based on thefrequency offset.
 7. The receiver of claim 6, wherein the DDS isconfigured to use at least one of a sine look-up table and a CoordinateRotation Digital Computer (CORDIC) algorithm.
 8. The receiver of claim1, wherein the AFC is configured to estimate the frequency offset usingthe first frequency-shifted signal.
 9. The receiver of claim 1, whereinthe reference oscillator signal provided by the crystal resonator is notlocked to a carrier frequency in the received signal.
 10. The receiverof claim 1, wherein the multiple, different functionalities comprise acellular communication functionality, a Global Position System (GPS)functionality, and a wireless local area networking (WLAN)functionality.
 11. A method for using a reference oscillator signalprovided by a crystal resonator to support multiple, differentfunctionalities, the method comprising: providing a local oscillatorsignal, using a phase-locked loop (PLL), based on the referenceoscillator signal provided by the crystal resonator; mixing a receivedsignal received over a first input path with the local oscillator signalreceived over a second input path to provide a first frequency-shiftedsignal; estimating a frequency offset of the local oscillator signal;adjusting the PLL to compensate for the frequency offset; and shiftingthe first frequency-shifted signal in frequency by an amount determinedbased on the frequency offset to compensate for a harmonic of thereference oscillator signal that couples to the first input path andpropagates through to the first frequency-shifted signal.
 12. The methodof claim 11, wherein shifting the first frequency-shifted signal infrequency further comprises: mixing the first frequency-shifted signalwith an additional oscillator signal to provide a secondfrequency-shifted signal, wherein a frequency of the additionaloscillator signal is determined based on the frequency offset.
 13. Themethod of claim 12, wherein the harmonic of the reference oscillatorsignal is present as a direct current (DC) component of the secondfrequency-shifted signal.
 14. The method of claim 13, furthercomprising: compensating for the DC component of the secondfrequency-shifted signal to provide a leakage compensatedfrequency-shifted signal.
 15. The method of claim 14, furthercomprising: mixing the leakage compensated frequency-shifted signal withthe additional oscillator signal.
 16. The method of claim 12, furthercomprising: generating the additional oscillator signal based on thefrequency offset.
 17. The method of claim 11, wherein the frequencyoffset is estimated using the first frequency-shifted signal.
 18. Themethod of claim 11, wherein the reference oscillator signal provided bythe crystal resonator is not locked to a carrier frequency in thereceived signal.
 19. The method of claim 11, wherein the multiple,different functionalities comprise a cellular communicationfunctionality, a Global Position System (GPS) functionality, and awireless local area networking (WLAN) functionality.
 20. A receivercomprising: a phase-locked loop (PLL) configured to provide a localoscillator signal based on a reference oscillator signal; a mixerconfigured to mix a received signal received over a first input pathwith the local oscillator signal received over a second input path toprovide a first frequency-shifted signal; an automatic frequencycontroller (AFC) configured to estimate a frequency offset of the localoscillator signal and adjust the PLL to compensate for the frequencyoffset; and a leakage canceler configured to shift the firstfrequency-shifted signal in frequency based on the frequency offset toprovide a second frequency-shifted signal, and perform a DC offsetcancellation technique on the second frequency-shifted signal tocompensate for a harmonic of the reference oscillator signal thatpropagates through the mixer to the first frequency-shifted signal.